//-----------------------------------------------------------------------
// <copyright file=" SysRole.cs" company="xxxx Enterprises">
// * Copyright (C) 2019 xxxx Enterprises All Rights Reserved
// * version : 4.0.30319.42000
// * author  : linxd
// * FileName: SysRole.cs
// * history : Created by T4 09/19/2019 09:33:18
// </copyright>
//-----------------------------------------------------------------------
using System;

using Admin.Common;

namespace Admin.Model
{
    /// <summary>
    /// SysRole Entity Model
    /// </summary>   
    [Serializable]
	[MyTable("sys_role")]
    public class SysRole
    {
      /// <summary>
        /// 角色ID
        /// </summary>
        public int Id { get; set; }
   
        /// <summary>
        /// 角色名称
        /// </summary>
        public string CName { get; set; }
   
        /// <summary>
        /// 角色权限字符串
        /// </summary>
        public string EName { get; set; }
   
        /// <summary>
        /// 显示顺序
        /// </summary>
        public int Sort { get; set; }
   
        /// <summary>
        /// 数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）
        /// </summary>
        public string Scope { get; set; }
   
        /// <summary>
        /// 角色状态（0正常 1停用）
        /// </summary>
        public string Status { get; set; }
   
        /// <summary>
        /// 删除标志（0代表存在 2代表删除）
        /// </summary>
        public string DelFlag { get; set; }
   
        /// <summary>
        /// 创建者
        /// </summary>
        public string CreateBy { get; set; }
   
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
   
        /// <summary>
        /// 更新者
        /// </summary>
        public string UpdateBy { get; set; }
   
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
   
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
